/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconShare: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M720 96a144 144 0 1 1-108.256 238.976l-233.728 132.608a144 144 0 0 1-0.128 82.816l237.632 134.496a144 144 0 1 1-32.64 55.04l-236.64-133.952a144 144 0 1 1 0.224-194.144l234.784-133.152A144.128 144.128 0 0 1 720 96z m0 608a80 80 0 1 0 0 160 80 80 0 0 0 0-160z m-480-275.2a80 80 0 1 0 0 160 80 80 0 0 0 0-160z m480-268.8a80 80 0 1 0 0 160 80 80 0 0 0 0-160z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconShare.defaultProps = {
  size: 18,
};

export default IconShare;
